@import '@/lib/reset.scss';
@import '~antd/dist/antd.css';


html, body {
    @include rect(100%, auto);
    background:rgba(238, 235, 235, 0.966);
    // @include rect(100%, 100%);
    position: relative;
}
.container {
    @include rect(100%, 61px);
    border-bottom: 1.5px solid rgba(151, 151, 151, 0.9);
    background: #fff;
    float: left;
    .common-header {
      @include rect(960px, 60px);
      @include margin(0 auto);
      position: relative;
      .logo {
          @include rect(98px, 38px);
          margin: 11px 0 0 0;
          float: left;
          margin-right: 24px;
          img {
              @include rect(100%, 100%);
              display: block;
          }
      }
      .common-nav {
        @include rect(352px, 60px);
        float: left;
        li {
            float: left;
            padding: 0 19.2px;
            a {
                font-size: 16px;
                text-align: center;
                line-height: 60px;
                color: #71777c;
                
            }
            &:hover,.active {
                color:#007fff;
            }
            a:hover{
             color:#007fff;
            }
        }
      }
      .common-search {
        @include rect(288.5px, 60px);
        float: left;
        padding: 0 14.4px;
        .search-from {
            @include rect(156px, 33.38px);
            display: block;
            background-color: rgba(227,231,236,.2);
            border: 1px solid hsla(0,0%,59.2%,.2);
            float: right;
            margin-top: 14px;
            line-height: 33.38px;
          input {
             padding: 7.2px 12px; 
             @include rect(120px, 31px);
             border: 0;
            background: 0;
             float: left;
             color: #666;
          }
          span {
              display: block;
              width: 32px;
              height: 22px;
              float: left;
              padding: 0 6px;
              margin-top: 5px; 
              text-align: center;
              line-height: 22px;
          }
        }
      }
      .douser {
        @include rect(197px, 60px); 
        float: left;
        ul {
            @include rect(100%, 100%);
            display: block;
            li {
                float:left;
                padding: 0 12.4px;
                height: 100%;
                display: block;
                line-height: 60px;
                text-align: center;
            }
            li:first-child {
                width: 97px;
                .articlebtn {
                    @include rect(79.6px, 32px);
                    background: #007fff;
                    border-radius: 2px;
                    color: white;
                    margin-top: 14px;
                    .text {
                        @include rect(63.6px, 32px);
                        text-align: center;
                        line-height: 32px;
                        border-right: 1px solid hsla(0,0%,100%,.1);
                        float: left;
                        a {
                            color: #fff;
                        }
                    }
                    .select {
                        @include rect(16px, 32px);
                        text-align: 32px;
                        float: right;
                        line-height: 32px;
                        i {
                            color: white;
                            display: block;
                            font-size: 12px;
                            @include rect(16px, 16px);
                        }
                    }
                }
            }
            li:nth-child(2) {
                width: 45.3px;
                i{
                    font-size: 20px;
                    color: blue;
                }
            }
            li:last-child {
                width: 30px;
                i {
                    font-size: 20px;
                }
            }
        }
      }
      .user-menu {
          display: none;
          @include rect(156px, 470px);
          position: absolute;
          background: #fff;
          top: 60px;right: 0;
          border-radius: 4px;
          box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
          border: 1px solid rgba(177,180,185,.45);
          list-style: none;
          div {
              padding: 12px 0;
              border-bottom: 1px solid rgba(0,0,0,.04);
            //   @include rect(156px, 91px);
              li {
                // @include rect(156px, 33px);
                padding: 6px 12px;
                i {
                    margin-right: 9.6px;
                    color: #71777c;
                    font-size: 16px;
                    font-weight: 500;
                }
                .iconfont.icon-gengduo {
                    float: right;
                }
                span {
                    color: #71777c;
                    font-size: 16px;
                    font-weight: 500;
                    a {
                    color: #71777c;
                    }
                }
                &:hover {
                    background: #eee;
                }
              }
          }
          .set-up {
              position: relative;
            .more-dropdown-list {
                display: none;
                @include rect(132px, auto);
                background: #fff;
                position: absolute;
                left:-136px;
                top: 0;
                box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
                border: 1px solid rgba(177,180,185,.45);
                ul {
                    li {
                        color: #71777c;
                        font-size: 16px;
                        font-weight: 500;
                        &:hover {
                            background: #eee;
                        }
                    }
                }
            }
              &:hover,.active {
                .more-dropdown-list,.active {
                    display: block;
                }
              }
          }
          div:last-child {
              border-bottom: 0px;
          }
      }
    }
    
}
.ant-back-top {
    bottom: 100px;
  }
.ant-back-top-inner {
    height: 35px;
    width: 35px;
    line-height: 40px;
    border-radius:50%;
    background: #f0d7d7;
    color: #333;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}
.ant-carousel{
    width:470px;
    height:280px;
    float:left
    
}
.ant-carousel .slick-slide {
    text-align: center;
    height: 280px;
    width:470px;
    line-height: 160px;
    background: #364d79;
    overflow: hidden;
  }
  
  .ant-carousel .slick-slide img {
    display:block;
    margin:auto auto;
    height:280px;
    width:470px;
  }
  

